﻿using AutoMapper;
using Sautom.CompositionRoot.AutoMapperConfiguration;
using Sautom.Services.Dto;
using Sautom.WcfServer.TransportDto;

namespace Sautom.WcfServer.AutoMapperConfig
{
    //todo T4
    public class CommandService : Base
    {
        #region Overrides of Base

        protected override void Configure()
        {
            ConfigureClient();
        }

        #endregion

        private static void ConfigureClient()
        {
            Mapper.CreateMap<ProposalEditDtoInput, ProposalEditDto>();
            Mapper.CreateMap<OrderEditDtoInput, OrderEditDto>();
            Mapper.CreateMap<ClientEditDtoInput, ClientEditDto>();
            Mapper.CreateMap<CounrtyEditDtoInput, CounrtyEditDto>();
            Mapper.CreateMap<CityItemDtoInput, CityItemDto>();
            Mapper.CreateMap<EmbassyDocumentItemDtoInput, EmbassyDocumentItemDto>();
            Mapper.CreateMap<RateItemDtoInput, RateItemDto>();
            Mapper.CreateMap<ContractEditDtoInput, ContractEditDto>();
            Mapper.CreateMap<AirlineTicketEditDtoInput, AirlineTicketEditDto>();
        }
    }
}
